127.0.0.1       localhost {{ inventory_hostname }}

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

{% for item in groups['all'] | sort %}
{{ hostvars[item]['bind_address'] }} {{ item }}
{% endfor %}
